﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DTD2013.Entities;

namespace DTD2013.MainApp.UI
{
    public partial class guiWorkTemplateList : XtraForm
    {
        public guiWorkTemplateList()
        {
            InitializeComponent();
            dgcWorkTemplate.InitializeControl();
        }

        public guiWorkTemplateList(List<CongTac> ctttList) : this()
        {
            dgcWorkTemplate.DataSource = ctttList;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
